package cn.dgut.training;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = {"cn.dgut.training.mapper"})
@EnableScheduling   //开启定时任务注解
public class TransactionApplication {

    public static void main(String[] args) {
        SpringApplication.run(TransactionApplication.class,args);
    }


}
